package com.smkj.kaoqin.modules.teacher.pojo.db;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 教师表
 * </p>
 *
 * @author yztyear
 * @since 2024-09-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("teacher")
@Schema(description = "教师表")
public class Teacher implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键教师id,关联用户表")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "教师姓名")
    private String name;


}
